package com.boesch.electroOffice.presentation.staff;

import java.io.Serializable;

import com.boesch.electroOffice.model.enums.SubfunctionIdentifier;

public class StaffSubfunctionUtils implements Serializable {

	private static final long serialVersionUID = -991947248458373835L;

	private static String[] firstLinkKeys = new String[] {
		SubfunctionIdentifier.CURRENT_WEEK_REPORT.getValue()
	};
	
	private static String[] mainLinkKeys = new String[] { 
		SubfunctionIdentifier.HOLIDAY_CREDIT.getValue(),
		SubfunctionIdentifier.OVERTIME.getValue(),
		SubfunctionIdentifier.CHARGES_CURRENT_MONTH.getValue()
	};
	
	private static String[] reportLinkKeys = new String[]{
		SubfunctionIdentifier.ACHIEVEMENT_CURRENT_MONTH.getValue(),
		SubfunctionIdentifier.ACHIEVEMENT_LAST_MONTH.getValue(),
		SubfunctionIdentifier.ACHIEVEMENT_CURRENT_YEAR.getValue(),
		SubfunctionIdentifier.SALARY_LIST_STAFF.getValue()
	};
	
	public static String[] getFirstLinkKeys() {
		return firstLinkKeys;
	}
	
	public static String[] getMainLinkKeys() {
		return mainLinkKeys;
	}
	
	public static String[] getReportLinkKeys() {
		return reportLinkKeys;
	}

	public static String[][] getSubfunctionArrays() {
		String[][] subfunctionArrays = {firstLinkKeys, mainLinkKeys, reportLinkKeys};
		return subfunctionArrays;
	}
}
